/**
 * @Copyright: 华为昆明数字经济学院-JAVA课程-高靖博 @Copy  All rights reserved.
 */
package com.huawei.springboot2023.mybatis.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("student")
public class Student implements Serializable {



    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;
    private String birth;
    private String name;
    private String sex;

    //当操作新增时，该字段自动填写当前时间
    @TableField(value = "insertTime",fill = FieldFill.INSERT)// 在什么时候要做某个事情
    private Date insertTime;

    @TableField(value = "updateTime",fill = FieldFill.UPDATE)
    private Date updateTime;

    private int isDelete;

}